﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <form method="post">
            <p>编号：<input type="text" name="ID" /></p>
            <p>姓名：<input type="text" name="Name" /></p>
            <p>年龄：<input type="text" name="Age" /></p>
            <button type="submit">提交</button>
        </form>
        @if (ViewBag.Stu != null)
        {
            var stu = ViewBag.Stu as T3._1.Models.Student;
            <p>编号：@stu.ID</p>
            <p>姓名：@stu.Name</p>
            <p>评价：@stu.Age</p>

        }
    </div>
</body>
</html>
